package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.ReturngoodstbEntity;
import dao.mapper.ReturngoodstbDAOI;

/**
*@author JiangFan
*/
public class ReturngoodstbDAO extends BaseDao implements ReturngoodstbDAOI {

}
class ReturngoodstbRowMapper implements RowMapper<ReturngoodstbEntity>{
	@Override
	public ReturngoodstbEntity rowmap(ResultSet set) throws  SQLException{
		return new ReturngoodstbEntity(
			set.getString("returnGoods_id"),
			set.getString("goods_id"),
			set.getString("orderDetails_id"),
			set.getString("returnGoods_type"),
			set.getDate("returnGoods_time"),
			set.getString("returnGoods_note")
		);
	}
}
